<?php
/**
 * +-------------------------------------------------------------
 * |Caption:
 * +-------------------------------------------------------------
 * |Author: Lenny
 * +-------------------------------------------------------------
 * |Email:  1685964109@qq.com
 * +-------------------------------------------------------------
 * |Date:   2024/6/21 上午11:35
 * +-------------------------------------------------------------
 */

namespace app\common\service\annotation;

/**
 * Class ControllerAnnotation
 *
 * @Annotation
 * @Target("CLASS")
 * @Attributes({
 *      @Attribute("title", type="string"),
 *  })
 */
final class ControllerAnnotation
{
    /**
     * 控制器路由组前缀
     *
     * @Required
     *
     * @var string
     */
    public $title = '';

    /**
     * 是否开启权限控制
     *
     * @var bool
     */
    public $auth = true;
}